﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>拉风网络</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<meta name="format-detection" content="telephone=no" />

<meta name="format-detection" content="email=no" />

<meta name="apple-mobile-web-app-title" content="拉风网络">

<link href="img/css.css"  rel="stylesheet" type="text/css" />

<style>

#weixin-tip img{display:block;height:auto;width:100%;}

</style>



</head>



<body>



<div id="top">

<span style="color:#00FF00">欢迎进入 拉风网络 下载平台</span>

</div>





<div id="top1">

<span style="color:#FF0000">微信扫描后</span>，请点击屏幕右上角的 <img src="img/ap.png" /> 或者 <img src="img/ad.png" /> 按钮，选择"在Safari中打开"或"在浏览器中打开",然后点击下载！<br>

<font color=green size=4><b>畅享新版上架，体积减少30%，功能不变，UI全面改版，更美观，更细腻。并且与老版本不冲突，可以共存。</b><br/>

</div>

<div id="top2">



    <div class="d1"><img src="img/appale.png" width="75" height="75"></div>

	

    <div class="d2">

	   <div class="dname">苹果专用版<span class="w"></span></div>

	   <div class="dno" align="center"><input class="jmw_submit" type="submit" value="查看下载说明" onclick="self.location.href='http://mp.weixin.qq.com/s/8n2zyeF4rBOCtZvoSShbQA'"></div>

	   <div class="djs"></div>

	</div>

	

</div>

<div id="top2">



    <div class="d1"><img src="img/android.png" width="75" height="75"></div>

	

    <div class="d2">

	   <div class="dname">安卓畅享版<span class="w">20161221更新</span></div>

	   <div class="dno" align="center"><input class="jmw_submit" type="submit" value="下载安卓软件" onclick="self.location.href='http://lafun-1252305625.file.myqcloud.com/down/app20161221.apk'"></div>

	   <div class="djs"></div>

	</div>

</div>


<script type="text/javascript">

		function is_weixin() {

		    var ua = navigator.userAgent.toLowerCase();

		    if (ua.match(/MicroMessenger/i) == "micromessenger") {

		        return true;

		    } else {

		        return false;

		    }

		}

		var isWeixin = is_weixin();

		var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;

		console.log(winHeight);

		function loadHtml(){

			var div = document.createElement('div');

			div.id = 'weixin-tip';

			div.innerHTML = '<p><img src="img/live_weixin.png" alt="微信打开"></p>';

			document.body.appendChild(div);

		}

		

		function loadStyleText(cssText) {

	        var style = document.createElement('style');

	        style.rel = 'stylesheet';

	        style.type = 'text/css';

	        try {

	            style.appendChild(document.createTextNode(cssText));

	        } catch (e) {

	            style.styleSheet.cssText = cssText; //ie9以下

	        }

            var head=document.getElementsByTagName("head")[0]; //head标签之间加上style样式

            head.appendChild(style); 

	    }

	    var cssText = "#weixin-tip{position: fixed; left:0; top:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); width: 100%; height:100%; z-index: 100;} #weixin-tip p{text-align: center; margin-top: 10%; padding:0 5%;} .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0;}";

		if(isWeixin){

			loadHtml();

			loadStyleText(cssText);

			var tip = document.getElementById('weixin-tip');

			

				tip.onclick = function(){

						tip.style.display = 'none';

						}

		}

	</script>



</body>

</html>